Fixes to the photon OEP full
Description
Fixes to the photon OEP, following the one done in !2104 (merged) for the electrons.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.