LA-51: Proper handling of custom baseUrl in spring-security (#51)