user photo debug pages fix, but photo is still not saved.
Merge branch 'master' of github.com:Evolveum/midpoint
fix for repo tests.