Every valid assignment of a mortgage is sufficient to grant to the assignee every right which the assignor possessed under the mortgage at the time of the assignment.