spring security also for mock profile