Bit more fixing
Merge pull request #19 from vasouv/login-managed-beans

Bit more fixing