Add password field

Add password field
Fix url in ajax login, registrate

Fix url in ajax, registrate
Merge branch 'auth#771'