Fixed problem with spring security context loading when starting offline