Immediate login upon registration from web

I have webquerysave java based agent associated with a new registration form that creates a person document.

After saving the document in the agent, I perform a view refresh then redirect the user to a database to login.

I have a special view setup for authentication which is enabled by the notes.ini NABWebLookupView parameter.

However, at times I can not immediately authenticate with this new username. What other activities do I need to perform to obtain immediate authentication capability.

Keep in mind I am running on linux.

thanks