Fixed for angular 1.3

Fixed for angular 1.3 and option Login by password only.