fix a php warning: normal login request doesn't contain an 'action' property