Security.login works perfectly.