BibAuthorID: create new profile fix

* Fixes an issue with negative pid in the case of creating
  new profile from the search for a profile view.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Reviewed-by: Gilles Louppe <g.louppe@gmail.com>
Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>