Fixed Action 'account' is not valid! exception on login

Fixes issue #6