Add codebase parameter to Try_Userpass

I'm sure there's a better way to do this, but this got my try functionality back.

RFC