Fixed spring security login issue